package com.axxc.jpa.index.web;

import java.text.SimpleDateFormat;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;

/**
 * @ClassName: ElasticSearchBaseController
 * @Description: 操作索引基类
 * @author xxcc
 * @date 2018年9月21日 上午9:31:52
 * @see {@link https://gitee.com/biuabiu }
 */
public class ElasticSearchBaseController {

	protected Logger logger = LoggerFactory.getLogger(getClass());
	protected final SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy:mm:dd hh:MM:ss");

	@Autowired
	protected ElasticsearchTemplate elasticsearchTemplate;

}
